package kr.saeildamil.androidstudy.ch16;

import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch16Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch16_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch(v.getId()){
		case R.id.ch16_alertdialog_btn:
			intent.setClass(this, AlertDialogTest.class);
			break;
		case R.id.ch16_customalertdia_btn:
			intent.setClass(this, OrderDialog.class);
			break;
		case R.id.ch16_popupwindoww_btn:
			intent.setClass(this, PopupView.class);
			break;
		

		}
		
		startActivity(intent);
	}
}


